version 18.0               // version control
set processors 8           // to ensure replicability across different numbers of cores
set more off, permanently

**# Set working directory

cd "G:\My Drive\Research\ONGOING\dst\project_dst_replication\"
pwd 

**# Prepare project-specific user-written packages

* Step 1: Create the "user_written_packages" subfolder under the working directory's "code" folder.

* Step 2: Set the directory to which the user-written packages will be downloaded.
net set ado "code\user_written_packages\"

* Step 3: Tell Stata in which folder to look for user-written packages, and use those packages only from that folder for version control purposes.

adopath
adopath + "code\user_written_packages\"    
adopath - PLUS    
adopath - PERSONAL    
adopath - OLDPLACE
adopath

exit